sync w/ head.
tools/check/.*
tools/libxc/xen/*
tools/misc/miniterm/miniterm
+tools/misc/xen_cpuperf
+ tools/misc/xenperf
tools/vnet/gc
tools/vnet/gc*/*
-tools/vnet/vnet-module/.tmp_versions/*
-tools/vnet/vnet-module/.*.cmd
tools/vnet/vnet-module/*.ko
+tools/vnet/vnet-module/.*.cmd
+tools/vnet/vnet-module/.tmp_versions/*
tools/vnet/vnet-module/vnet_module.mod.*
tools/vnetd/vnetd
tools/web-shutdown.tap
#include <asm/pgtable.h>
#include <asm-xen/hypervisor.h>
#include <asm-xen/multicall.h>
+ #include <asm-xen/balloon.h>
+#include <linux/percpu.h>
/*
* This suffices to protect us if we ever move to SMP domains.
extra-y += vmlinux.lds
-obj-y := ctrl_if.o evtchn.o fixup.o reboot.o xen_proc.o gnttab.o skbuff.o devmem.o
+obj-y := ctrl_if.o evtchn.o fixup.o reboot.o xen_proc.o \
- gnttab.o skbuff.o smp.o
++ gnttab.o skbuff.o devmem.o smp.o
*/
#include "common.h"
+ #include <asm-xen/balloon.h>
+#include <asm-xen/evtchn.h>
static void netif_page_release(struct page *page);
static void netif_skb_release(struct sk_buff *skb);
u32 type_info;
domid_t domid;
- perfc_incrc(calls_to_mmu_update);
- perfc_addc(num_page_updates, count);
-
+ LOCK_BIGLOCK(d);
+
cleanup_writable_pagetable(d, PTWR_CLEANUP_ACTIVE | PTWR_CLEANUP_INACTIVE);
/*
ALIGN
process_guest_exception_and_events:
- leal DOMAIN_trap_bounce(%ebx),%edx
+ leal EDOMAIN_trap_bounce(%ebx),%edx
testb $TBF_EXCEPTION,TRAPBOUNCE_flags(%edx)
jz test_all_events
+ cli # create_bounce_frame needs CLI for pre-exceptions to work
call create_bounce_frame
jmp test_all_events